﻿using System.ComponentModel.DataAnnotations;

namespace CodeContribBlog.Data
{
	public class PostMetadata
	{
		[Required]
		public virtual User Author { get; set; }

		[Required]
		public virtual Blog Blog { get; set; }

		[Required]
		public string Body { get; set; }

		[Required]
		public string Slug { get; set; }

		[Required]
		public string Title { get; set; }
	}
}